<?php

namespace framework\application;


use framework\di\ServiceLocator;


class Application extends ServiceLocator
{
    public static $instance;

    function run()
    {

    }

    public function __construct($contianer)
    {
        parent::__construct($contianer);
    }

    public static function getInstance($contianer = null)
    {
        if (self::$instance == null) {
            self::$instance = new self($contianer);
        }
        return self::$instance;
    }
}
